package com.yc.oop3;

public class Test2 {
	public static void main(String[] args) {
		Teacher t2 = new Teacher();
		t2.setName("张三");
		t2.setSal(6000);
		
		System.out.println( t2.getName() );  
		
		Teacher t3 = new Teacher("李四", 6000);
	}
}
